package com.zz.ad.dao;

import com.zz.ad.entity.AdUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Author: zz
 * Date: 2019/11/26
 * Description:
 */
public interface AdUserRepository extends JpaRepository<AdUser, Long> {

    /**
     * 根据用户名查询用户接口
     */
    AdUser findByUsername(String username);
}
